﻿
<style>
.tv{
	min-height:300px;
}
.tv li{
	list-style:none;
	width:16%;
	height:150px;
	float:left;
}
.tv li p{
	text-align:center;
}

</style>
<div class="col-lg-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                         TV在线监控
					<span style="float:right">共{$sumcount}设备，其中{$zaixiancount}在线 {$lixiancount}离线   <a href="/index.php/Home/Index/tvshowdaochu" target="_blank">导出</a></span>
                    </div>
					  <form action="/index.php/Home/Index/tvshow" method="get" >
					  <div class="ibox-content">
						状态:&nbsp;&nbsp;<select  name="state">
							<option value="-1">全部</option>	
						<option value="1">在线</option>	
						<option value="0">离线</option>	
							</select>
						&nbsp;&nbsp;
						群组:&nbsp;&nbsp;<select  name="zu">
							<option value="-1">全部</option>	
							<volist name="zudata" id="vo">
									
							<option value="{$vo["id"]}">{$vo["zuname"]}</option>
					
							</volist>	
							</select>
						&nbsp;&nbsp;
						<input type="submit" value=" 查 询 "/>&nbsp;&nbsp;
					
					</div>
					</form>
                    <div class="ibox-content" style="height:669px;">
                       <div class="tv">
						<volist name="alist" id="vo">
						<li>
						<if condition="$vo.online == 1 ">
							<p><a href="/index.php/Home/Index/tvshowlog?code={$vo.code}"><img src="/Content/images/tv1.png" /></a></p>
								<else /> 
									<p><a href="/index.php/Home/Index/tvshowlog?code={$vo.code}"><img src="/Content/images/tv2.png"  /></a></p>
							</if>
						
							<p>{$vo["name"]} ({$vo["zuname"]})</p>
						</li>		
				    </volist>
					
						<div>
                    </div>
						
                </div>
            </div>
			<br/><br/>
		<div class="pagelist">{$page}</div>
